package com.alex.tube;

public abstract class TubeUtils {
	
	public static String getCategoryURL(Category category) {
		return category.getName().toLowerCase().replaceAll("\\s+", "_") + ".html";
	}

	public static String getCategoryImageURL(Category category) {
		return category.getVideos().get(0).getImageUrl();
	}
	
}
